package com.example.knife4jdemo.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 创建时间: 23:09 2018/9/19
 * 修改时间:
 * 编码人员: ZhengQf
 * 版   本: 0.0.1
 * 功能描述:
 */
@ApiModel(value = "用户模型")
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserEntity {

    @ApiModelProperty(notes = "id", required = true, example = "123")
    private Integer id;

    @ApiModelProperty(value = "用户姓名", required = true, example = "郑钦锋")
    private String name;

}
